package com.lyf.auth.dao;


import com.lyf.auth.domain.pojo.Bean.BindClientScope;
import com.lyf.auth.domain.pojo.Bean.ScopeApilistInfo;

import java.util.List;

public interface ScopeApilistInfoMapper {
   int deleteByPrimaryKey(Integer id);

   int insert(ScopeApilistInfo record);

   int insertSelective(ScopeApilistInfo record);

   int insertAndReturnId(ScopeApilistInfo record);

   ScopeApilistInfo selectByPrimaryKey(Integer id);

   List<ScopeApilistInfo> selectScopeByIds(List<BindClientScope> bindClientScopeList);

   List<ScopeApilistInfo> selectAllScope();

   ScopeApilistInfo selectScopeByIdAndScope(List<BindClientScope> bindClientScopeList, String scope);

   int updateByPrimaryKeySelective(ScopeApilistInfo record);

   int updateByScope(ScopeApilistInfo record);

   int updateByPrimaryKeyWithBLOBs(ScopeApilistInfo record);

   int updateByPrimaryKey(ScopeApilistInfo record);

   ScopeApilistInfo selectByScope(String scope);

   int selectByScopeCount(String scope);
}
